<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:8732/Design_Time_Addresses/hazi?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/HWmanagementServer" />
  <xs:element name="AddNewUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="um" nillable="true" type="q1:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AddNewUserResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="AddNewSubject">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="sm" nillable="true" type="q2:SubjectModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AddNewSubjectResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="AddCourse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="subject" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="semester" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="AddCourseResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="LoggingInUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="um" nillable="true" type="q3:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="LoggingInUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="LoggingInUserResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetLoggedInUser">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="neptun" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetLoggedInUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="GetLoggedInUserResult" nillable="true" type="q4:UserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getSubjects">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="user" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getSubjectsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="getSubjectsResult" nillable="true" type="q5:ArrayOfSubjectModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="viewResult">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="hwid" type="xs:int" />
        <xs:element minOccurs="0" name="user" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="viewResultResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="viewResultResult" nillable="true" type="q6:ResultModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getFiles">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="hwid" type="xs:int" />
        <xs:element minOccurs="0" name="user" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="onlyLast" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getFilesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q7="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="getFilesResult" nillable="true" type="q7:ArrayOfFileModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getTeacherHomeworks">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="user" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="courseId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getTeacherHomeworksResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q8="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="getTeacherHomeworksResult" nillable="true" type="q8:ArrayOfHomeworkModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="postNewHomework">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q9="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="hw" nillable="true" type="q9:HomeworkModel" />
        <xs:element xmlns:q10="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="file" nillable="true" type="q10:FileModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="postNewHomeworkResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="writeResult">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q11="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="res" nillable="true" type="q11:ResultModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="writeResultResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="addTeacher">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="user" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="subject" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="addTeacherResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="removeTeacher">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="user" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="subject" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="removeTeacherResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="modifyHomework">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="hw" nillable="true" type="q12:HomeworkModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="modifyHomeworkResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="modifyResult">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="res" nillable="true" type="q13:ResultModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="modifyResultResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="deleteHomework">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="hwid" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="deleteHomeworkResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="getGroupOnHw">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="hwId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getGroupOnHwResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="getGroupOnHwResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getUsersOnHw">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="hwid" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getUsersOnHwResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="getUsersOnHwResult" nillable="true" type="q14:ArrayOfUserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getStudentHomeworks">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="user" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="courseId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getStudentHomeworksResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q15="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="getStudentHomeworksResult" nillable="true" type="q15:ArrayOfHomeworkModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostHomework">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="hwid" type="xs:int" />
        <xs:element minOccurs="0" name="user" nillable="true" type="xs:string" />
        <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="file" nillable="true" type="q16:FileModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="PostHomeworkResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="addStudentToGroup">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="student" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="group" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="addStudentToGroupResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="removeStudentFromGroup">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="student" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="group" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="removeStudentFromGroupResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="sendMessage">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="msg" nillable="true" type="q17:MessageModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="sendMessageResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="getMessages">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="user" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getMessagesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="getMessagesResult" nillable="true" type="q18:ArrayOfMessageModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="setRead">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="msg_id" type="xs:int" />
        <xs:element minOccurs="0" name="read" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="setReadResponse">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="getAllUser">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="getAllUserResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q19="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="getAllUserResult" nillable="true" type="q19:ArrayOfUserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getLogs">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="getLogsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q20="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="getLogsResult" nillable="true" type="q20:ArrayOfLogModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getCourses">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="subject" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getCoursesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q21="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="getCoursesResult" nillable="true" type="q21:ArrayOfCourseModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getAllSubjects">
    <xs:complexType>
      <xs:sequence />
    </xs:complexType>
  </xs:element>
  <xs:element name="getAllSubjectsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q22="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="getAllSubjectsResult" nillable="true" type="q22:ArrayOfSubjectModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getTeachers">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="subjectId" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getTeachersResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q23="http://schemas.datacontract.org/2004/07/HWmanagementServer" minOccurs="0" name="getTeachersResult" nillable="true" type="q23:ArrayOfUserModel" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getFileName">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="fileId" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="getFileNameResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="getFileNameResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>